package com.smzd.projforge.actions;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.smzd.framework.system.MeetingSessionHolder;

@Controller
public class PortalController {

	@RequestMapping("/index.html")
	public String index(Map<String, Object> model) {
		model.put("user", MeetingSessionHolder.getLoginUser());
		return getMyView("admin-index.ftl");
	}

	private String getMyView(String ftl) {
		return "projforge/portal/" + ftl;
	}
}
